package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmMaterialDto;
import com.heima.model.wemedia.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author lzq
 * @data 2023/4/29 19:30
 */
public interface WmMaterialService extends IService<WmMaterial> {
    //图片上传
    public ResponseResult upload(MultipartFile multipartFile);

    //查看所有
    ResponseResult pageList(WmMaterialDto dto);
}
